import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:test1/xykk/app_page_view.dart';

import 'app_doorbell_set_logic.dart';
import 'app_doorbell_set_state.dart';
import 'widgets/TimeSelector_widget.dart';

class app_doorbell_setPage extends GetPageView<app_doorbell_setLogic> {

  @override
  Widget buildLayout(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: const Text('TimeSelectorPage')),
        body: Center(
            child: TimeSelector<app_doorbell_setState>(
              title: '休眠时间',
              options: const ['10min', '30min', '1h', '不休眠'],
              onChanged: (int index, String res)async  {


              },
            )));

  }



}
